package com.itdaan.portal.business.domain;
import java.io.Serializable;
/**
 * @author www.itdaan.com
 */
@SuppressWarnings("serial")
public class Web extends BaseDomain implements Serializable{

	public final static int WEBSTATUS_TOUPDATE = 0;//待修改
	public final static int WEBSTATUS_TOCRAWL = 1;//待爬取
	public final static int WEBSTATUS_CRAWLED = 2;//已爬取
	public final static int WEBSTATUS_DELETED = 3;//已删除
	
	public final static int LANGUAGE_CHINESE = 1;//中文
	public final static int LANGUAGE_ENGLISH = 2;//英文
	
	/****/
	private Integer id;

	/**网站名称**/
	private String webName;

	/**网站名称英文**/
	private String webNameEn;

	/**网站URL**/
	private String webUrl;

	/**网站类型ID**/
	private Integer webTypeId;

	/**语言ID 对应t_lanaguge中的ID**/
	private Integer webLanguageId;

	/**解析规则xml文件**/
	private String xmlPath;
	
	/**字符集 **/
	private String charset;
	
	/**状态 0 待修改 1 待爬取 2 已爬取 3 已删除 **/
	private Integer webStatus;
	
	/**爬取数量 **/
	private Integer crawlNum; 

	public void setId(Integer id){
		this.id = id;
	}

	public Integer getId(){
		return this.id;
	}

	public void setWebName(String webName){
		this.webName = webName;
	}

	public String getWebName(){
		return this.webName;
	}

	public void setWebNameEn(String webNameEn){
		this.webNameEn = webNameEn;
	}

	public String getWebNameEn(){
		return this.webNameEn;
	}

	public void setWebUrl(String webUrl){
		this.webUrl = webUrl;
	}

	public String getWebUrl(){
		return this.webUrl;
	}

	public void setWebTypeId(Integer webTypeId){
		this.webTypeId = webTypeId;
	}

	public Integer getWebTypeId(){
		return this.webTypeId;
	}

	public void setWebLanguageId(Integer webLanguageId){
		this.webLanguageId = webLanguageId;
	}

	public Integer getWebLanguageId(){
		return this.webLanguageId;
	}

	public void setXmlPath(String xmlPath){
		this.xmlPath = xmlPath;
	}

	public String getXmlPath(){
		return this.xmlPath;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public Integer getWebStatus() {
		return webStatus;
	}

	public void setWebStatus(Integer webStatus) {
		this.webStatus = webStatus;
	}

	public Integer getCrawlNum() {
		return crawlNum;
	}

	public void setCrawlNum(Integer crawlNum) {
		this.crawlNum = crawlNum;
	}
	
}
